
const result = async function() {
    const content = new Promise((resolve, reject) => {
        setTimeout(() => {
            resolve()
        }, 500)
    })

    console.log(content)
    return 4
}()

setTimeout(() => {
    console.log(result)
}, 800)

